package vitamin.demo.projectManagement;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import vitamin.demo.utils.ResultUtils;

@RestController
@Api(tags = "项目管理接口")
public class ProjectManagementController {

    @Autowired
    ProjectManagementService service;

    // 发布新项目
    @PostMapping("/releaseProject")
    @ApiOperation("发布新项目")
    public String releaseProject(){
        return ResultUtils.permissionDenied();
    }

    // 修改项目
    @PostMapping("/modifyProject")
    @ApiOperation("修改项目")
    public String modifyProject(){
        return ResultUtils.permissionDenied();
    }

    // 提出新需求
    @PostMapping("/newDemand")
    @ApiOperation("提出新需求")
    public String newDemand(){
        return ResultUtils.permissionDenied();
    }


    // 获取现有项目
    @PostMapping("/getAllProject")
    @ApiOperation("获取现有项目")
    public void getAllProject(){
        return ;
    }
}
